﻿using System;
namespace WeFrame.Core.Model
{
    /// <summary>
    /// 管理员信息表实体类
    /// Author:neo 
    /// Datetime:2016/12/28 19:55:28
    /// </summary>

    [Serializable]
    public partial class SystemAdminEntity
    {
        public SystemAdminEntity()
        {
        }
        #region private property
        private int _id;
        private int _roleId;
        private int _roleType;
        private string _userName;
        private string _password;
        private string _salt;
        private string _realName;
        private string _telephone;
        private string _email;
        private int _isLock;
        private DateTime _addTime;
        #endregion


        #region public property
        /// <summary>
        /// 自增Id
        /// </summary>
        public int Id
        {
            get { return _id; }
            set { _id = value; }
        }
        /// <summary>
        /// 角色Id
        /// </summary>
        public int RoleId
        {
            get { return _roleId; }
            set { _roleId = value; }
        }
        /// <summary>
        /// 管理员类型1超管2系管
        /// </summary>
        public int RoleType
        {
            get { return _roleType; }
            set { _roleType = value; }
        }
        /// <summary>
        /// 用户名
        /// </summary>
        public string UserName
        {
            get { return _userName; }
            set { _userName = value; }
        }
        /// <summary>
        /// 登录密码
        /// </summary>
        public string Password
        {
            get { return _password; }
            set { _password = value; }
        }
        /// <summary>
        /// 6位随机字符串,加密用到
        /// </summary>
        public string Salt
        {
            get { return _salt; }
            set { _salt = value; }
        }
        /// <summary>
        /// 用户昵称
        /// </summary>
        public string RealName
        {
            get { return _realName; }
            set { _realName = value; }
        }
        /// <summary>
        /// 联系电话
        /// </summary>
        public string Telephone
        {
            get { return _telephone; }
            set { _telephone = value; }
        }
        /// <summary>
        /// 电子邮箱
        /// </summary>
        public string Email
        {
            get { return _email; }
            set { _email = value; }
        }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public int IsLock
        {
            get { return _isLock; }
            set { _isLock = value; }
        }
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime AddTime
        {
            get { return _addTime; }
            set { _addTime = value; }
        }
        #endregion
    }

}